<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResponseResult</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResponseResult implements Serializable{

    private int code; //返回状态码200成功
    private String msg; //返回描述信息
    private Location data; //返回内容体

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMsg(){
        return msg;
    }

    public void setMsg(String msg){
        this.msg = msg;
    }

    public Location getData(){
        return data;
    }

    public void setData(Location data){
        this.data = data;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class Location implements Serializable{

    private int id; //
    private double lat; //
    private double lng; //
    private long time; //
    private long uid; //

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public double getLat(){
        return lat;
    }

    public void setLat(double lat){
        this.lat = lat;
    }

    public double getLng(){
        return lng;
    }

    public void setLng(double lng){
        this.lng = lng;
    }

    public long getTime(){
        return time;
    }

    public void setTime(long time){
        this.time = time;
    }

    public long getUid(){
        return uid;
    }

    public void setUid(long uid){
        this.uid = uid;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>